package com.nkzy.controller;

import com.nkzy.domain.dto.AddressFormDTO;
import com.nkzy.service.AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/addresses")
@RestController
public class AddressController {
    @Autowired
    private AddressService addressService;
   //保存数据
    public void saveAddress(@RequestBody AddressFormDTO addressFormDTO){

    }
}
